CC = g++

CFLAGS = -c -Wall

all: core

core: core.o uptime.o
	$(CC) core.o uptime.o -o core

core.o: core.cpp
	$(CC) $(CFLAGS) core.cpp

uptime.o: uptime.cpp
	$(CC) $(CFLAGS) uptime.cpp

clean:
	rm -rf *o core

